using System;
namespace DreamPark
{
	public class Client	{
		
		private string nom;
		private string prenom;
		private string adresse;
		private int numeroTicket;
	
		public string Nom{ 
			get {return nom;}
			set {nom = value != null ? value : " "; }
		}
			
		public string Prenom{ 
			get {return prenom;}
			set {prenom = value != null ? value : " "; }
		}
				
		public string Adresse{ 
			get {return adresse;}
			set {adresse = value != null ? value : " "; }
		}
				
		public int NumeroTicket{
			get {return numeroTicket;}
			set {numeroTicket = value > 0 ? value : 0;}
		}
		
		public Client (string nomClient, string prenomClient, string adresseClient, int numeroTicket){
			this.Nom = nomClient;
			this.Prenom = prenomClient;
			this.Adresse = adresseClient;
			this.NumeroTicket = numeroTicket;
		}
		public void amenerVehicule() {
				
		}
	}

}